from rest_framework.serializers import ModelSerializer

from trade.models import Card, Order


class CardSerializer(ModelSerializer):
    class Meta:
        model = Card
        fields = '__all__'


class OrderSerializer(ModelSerializer):
    class Meta:
        model = Order
        fields = '__all__'
